package com.cp.properties;

import com.cp.factoty.YamlPropertySourceFactory;
import org.springframework.boot.actuate.autoconfigure.metrics.MetricsProperties;
import org.springframework.context.annotation.Primary;
import org.springframework.context.annotation.PropertySource;

/**
 * Des:
 *
 * @author cp
 * @date 2022/8/28 14:58
 */
@PropertySource(value = "classpath:metrics.yml", factory = YamlPropertySourceFactory.class)
@Primary
public class CpMetricsProperties extends MetricsProperties {
}
